package com.meta.managers
{
	import com.meta.models.Config;

	import flash.net.NetConnection;

	public class RTMPManager
	{
		public function RTMPManager()
		{
		}

		private static var _instance:RTMPManager;
		private var nc_live:NetConnection;
		private var nc_replay:NetConnection;
		private var nc_vod:NetConnection;

		public static function get instance():RTMPManager
		{
			return _instance||=new RTMPManager();
		}

		public function init():void
		{
			nc_live = new NetConnection();
			nc_live.client = this;
			nc_live.connect(Config.rtmp_server_live);
		}

	}
}

